// 产品封装页面
import devOpsResource from "@/views/devOpsResource/index.vue";
//服务器tab页面
import server from "@/views/devOpsResource/server/index.vue"
//应用目录 tab页面
import appDir from "@/views/devOpsResource/appDir/index.vue"
//文件集群 tab页面
import fileSys from "@/views/devOpsResource/fileSys/index.vue"
//域名 tab页面
import domain from "@/views/devOpsResource/domain/index.vue"
//数据库 tab页面
import dbBase from "@/views/devOpsResource/dbBase/index.vue"
//数据库目录 tab页面
import dataDir from "@/views/devOpsResource/dataDir/index.vue"
//数据库目录 tab页面
import cacheCluster from "@/views/devOpsResource/cacheCluster/index.vue"
//contextPath tab页面
import contextPath from "@/views/devOpsResource/contextPath/index.vue"
//工作负载 tab页面
import workLoad from "@/views/devOpsResource/workLoad/index.vue"
//数据字典
import dataDic from "@/views/dataDic/index.vue"
//租户资源管理
import tenantResource from "@/views/tenantResource/index.vue"
//系统监控
import sysMonitor from "@/views/sysMonitor/index.vue"
//服务日志
import serverLog from "@/views/serverLog/index.vue"
//告警通知
import warnNotice from "@/views/warnNotice/index.vue"
//服务参数配置列表
import serverParamsConfigs from "@/views/serverParamsConfigs/index.vue";

export default [
    {
        path: "/main/serverParamsConfigs",
        name: "serverParamsConfigs",
        component: serverParamsConfigs,
        meta: {
            title: "资源管理 / 服务参数配置列表"
        }
    },
    {
        path: "/main/warnNotice",
        name: "warnNotice",
        component: warnNotice,
        meta: {
            title: "资源管理 / 告警通知"
        }
    },
    {
        path: "/main/serverLog",
        name: "serverLog",
        component: serverLog,
        meta: {
            title: "资源管理 / 服务日志"
        }
    },
    {
        path: "/main/sysMonitor",
        name: "sysMonitor",
        component: sysMonitor,
        meta: {
            title: "资源管理 / 系统监控"
        }
    },
    {
        path: "/main/tenantResource",
        name: "tenantResource",
        component: tenantResource,
        meta: {
            title: "资源管理 / 单位资源管理"
        }
    },
    {
        path: "/main/dataDic",
        name: "dataDic",
        component: dataDic,
        meta: {
            title: "资源管理 / 数据字典配置"
        }
    },{
    path: "/main/devOpsResource",
    name: "devOpsResource",
    component: devOpsResource,
    meta: {
        title: "资源管理 / 运维资源管理"
    },
    children: [
        {
            path:"", redirect: "/main/devOpsResource/server"
        },
        {
            path: "/main/devOpsResource/server",
            name: "server",
            component: server,
            meta: {
                title: "资源管理 / 运维资源管理/服务器"
            },
            children: [

            ]
        },
        {
            path: "/main/devOpsResource/appDir",
            name: "appDir",
            component: appDir,
            meta: {
                title: "资源管理 / 运维资源管理/应用目录"
            },
            children: [

            ]
        },
        {
            path: "/main/devOpsResource/fileSys",
            name: "fileSys",
            component: fileSys,
            meta: {
                title: "资源管理 / 运维资源管理/文件系统集群"
            },
            children: [

            ]
        },
        {
            path: "/main/devOpsResource/domain",
            name: "domain",
            component: domain,
            meta: {
                title: "资源管理 / 运维资源管理/域名"
            },
            children: [

            ]
        },
        {
            path: "/main/devOpsResource/dbBase",
            name: "dbBase",
            component: dbBase,
            meta: {
                title: "资源管理 / 运维资源管理/数据库"
            },
            children: [

            ]
        },
        {
            path: "/main/devOpsResource/dataDir",
            name: "dataDir",
            component: dataDir,
            meta: {
                title: "资源管理 / 运维资源管理/数据目录"
            },
            children: [

            ]
        },
        {
            path: "/main/devOpsResource/cacheCluster",
            name: "cacheCluster",
            component: cacheCluster,
            meta: {
                title: "资源管理 / 运维资源管理/缓存集群"
            },
            children: [

            ]
        },
        {
            path: "/main/devOpsResource/contextPath",
            name: "contextPath",
            component: contextPath,
            meta: {
                title: "资源管理 / 运维资源管理/contextPath"
            },
            children: [

            ]
        },
        {
            path: "/main/devOpsResource/workLoad",
            name: "workLoad",
            component: workLoad,
            meta: {
                title: "资源管理 / 运维资源管理/工作负载"
            },
            children: [

            ]
        }
    ]
}
]